#ifndef PATH_SELECTOR_HPP
#define PATH_SELECTOR_HPP

#include <QFrame>
#include <QLabel>
#include <QLineEdit>
#include <QToolButton>

namespace FRAMEWORK {

/*****************************************************************************/

class PathSelector : public QFrame {

  Q_OBJECT

private:
  QLabel      *lblCaption ;
  QLineEdit   *edtPath    ;
  QToolButton *btnBrowse  ;

public:
  PathSelector ( QWidget *xParent =0 ) ;
  virtual ~PathSelector() ;

public:
  QString getPath    () const ;
  QString getCaption () const ;

public slots:
  void setPath    ( const QString & xPath    ) ;
  void setCaption ( const QString & xCaption ) ;
  void browse     ( ) ;

} ;

/*****************************************************************************/

} // namespace FRAMEWORK

#endif // PATH_SELECTOR_HPP
